package com.gupao.spring.pattern.factory.SimpleFactory;

public class SimpleFactoryTest {

    public static void main(String[] args) {

        SimpleFactory simpleFactory = new SimpleFactory();

        System.out.println(simpleFactory.getPhoneByName("小米").getPhone());
    }
}
